package com.iwhalecloud.bss.kite.cucc.service.pos.bcmc.dispatcher.enums;

import com.iwhalecloud.bss.kite.common.unicode.UnicodeOperTypeKite;
import com.iwhalecloud.bss.kite.cucc.service.pos.bcmc.dispatcher.IBcmcOrderDispatcher;
import com.iwhalecloud.bss.kite.cucc.service.pos.bcmc.dispatcher.impl.BcmcOrderGoodsDispatcher;

/**
 * <Description> <br>
 * 订单流程业务调度枚举
 * 
 * @author XXZ<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2020年12月18日 <br>
 * @since R9.0<br>
 * @see com.iwhalecloud.bss.kite.cucc.service.pos.bcmc.dispatcher.enums <br>
 */
public enum OrderDispatcherEnum {

    /**
     * 商品订购流程
     */
    ORDER_GOODS(UnicodeOperTypeKite.OPERTYPE_1001, BcmcOrderGoodsDispatcher.class);

    private Class<? extends IBcmcOrderDispatcher> clazz;

    private String operType;

    private OrderDispatcherEnum(String operType, Class<? extends IBcmcOrderDispatcher> clazz) {
        this.operType = operType;
        this.clazz = clazz;
    }

    public Class<? extends IBcmcOrderDispatcher> getClazz() {
        return clazz;
    }

    public String getOperType() {
        return operType;
    }

}
